package com.hsc.www;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RestController;


@EnableCircuitBreaker//对hystrixR熔断机制的支持
@EnableEurekaClient
@RestController
@SpringBootApplication(scanBasePackages = "com.hsc.www.common")
public class ProviderServer2041 {

    public static void main(String[] args) {
        args = new String[]{"--server.port=2041"};
        SpringApplication.run(ProviderServer2041.class, args);
    }

}